<%= content_for :css do %>
	<%= stylesheet_link_tag '/assets/admin'%>
<% end %>
<div id="orinfo">
	<%= link_to 'Home', root_path %> >
	<%= link_to 'Admin', welcome_admin_path %> >
	New Structure
</div>
<h1> New Structure </h1>

<div id="adminForm">
<%= form_for :structure, url: structures_path do |s| %>
	<p>
		<%= s.label :name %> <br>
		<%= s.text_field :name %>
	</p>
	
	<p>
		<%= s.label :typology_virtual %> <br>
		<%= s.text_field :typology_virtual %>
	</p>
	
	<p>
		<%= s.label :description %> <br>
		<%= s.text_area :description %>
	</p>

	<p>
		<%= s.label :equipments %> <br>
		<%= s.text_area :equipments %>
	</p>

	<p>
		<%= s.label :capacity %> <br>
		<%= s.text_field :capacity %>
	</p>

	<p>
		<%= s.label :img_src %> <br>
		<%= s.text_field :img_src %>
	</p>

	<p>
		<%= s.label :preview_img_src %> <br>
		<%= s.text_field :preview_img_src %>
	</p>
	
	<p>
		<%= s.check_box :best %> <%= s.label :best %>
	</p>
	
	<p>
		<%= s.submit class: 'submit' %>
	</p>
<% end %>
</div>
